|
gnss20 2.2.0
|
This file contains API for GNSS 20 Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_i2c_master.h"#include "drv_spi_master.h"#include "drv_uart.h"#include "spi_specifics.h"Go to the source code of this file.
Data Structures | |
| struct | gnss20_s |
| GNSS 20 Click context object. More... | |
| struct | gnss20_cfg_t |
| GNSS 20 Click configuration object. More... | |
Typedefs | |
| typedef err_t(* | gnss20_master_io_t) (struct gnss20_s *, uint8_t *, uint16_t) |
| typedef struct gnss20_s | gnss20_t |
| GNSS 20 Click context object. | |
Enumerations | |
| enum | gnss20_drv_t { GNSS20_DRV_SEL_UART , GNSS20_DRV_SEL_SPI , GNSS20_DRV_SEL_I2C } |
| GNSS 20 Click driver selector. More... | |
| enum | gnss20_return_value_t { GNSS20_OK = 0 , GNSS20_ERROR = -1 } |
| GNSS 20 Click return value data. More... | |
Functions | |
| void | gnss20_cfg_setup (gnss20_cfg_t *cfg) |
| GNSS 20 configuration object setup function. | |
| void | gnss20_drv_interface_sel (gnss20_cfg_t *cfg, gnss20_drv_t drv_sel) |
| GNSS 20 driver interface setup function. | |
| err_t | gnss20_init (gnss20_t *ctx, gnss20_cfg_t *cfg) |
| GNSS 20 initialization function. | |
| err_t | gnss20_generic_write (gnss20_t *ctx, uint8_t *data_in, uint16_t len) |
| GNSS 20 data writing function. | |
| err_t | gnss20_generic_read (gnss20_t *ctx, uint8_t *data_out, uint16_t len) |
| GNSS 20 data reading function. | |
| uint8_t | gnss20_get_pps_pin (gnss20_t *ctx) |
| GNSS 20 get PPS pin function. | |
| void | gnss20_set_rst_pin (gnss20_t *ctx, uint8_t state) |
| GNSS 20 set RST pin function. | |
| void | gnss20_reset_device (gnss20_t *ctx) |
| GNSS 20 reset device function. | |
| err_t | gnss20_parse_gga (uint8_t *rsp_buf, uint8_t gga_element, uint8_t *element_data) |
| GNSS 20 parse GGA function. | |
This file contains API for GNSS 20 Click Driver.
| typedef err_t(* gnss20_master_io_t) (struct gnss20_s *, uint8_t *, uint16_t) |
Driver serial interface.
GNSS 20 Click context object.
Context object definition of GNSS 20 Click driver.
| enum gnss20_drv_t |